class VersionEntity {
	int code;
	VersionData data;
	String message;

	VersionEntity({this.code, this.data, this.message});

	VersionEntity.fromJson(Map<String, dynamic> json) {
		code = json['code'];
		data = json['data'] != null ? new VersionData.fromJson(json['data']) : null;
		message = json['message'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['code'] = this.code;
		if (this.data != null) {
      data['data'] = this.data.toJson();
    }
		data['message'] = this.message;
		return data;
	}
}

class VersionData {
	String link;
	String id;
	String versionxl;

	VersionData({this.link, this.id, this.versionxl});

	VersionData.fromJson(Map<String, dynamic> json) {
		link = json['link'];
		id = json['id'];
		versionxl = json['versionxl'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['link'] = this.link;
		data['id'] = this.id;
		data['versionxl'] = this.versionxl;
		return data;
	}
}
